\documentclass{standalone}

\usepackage{pgfplots}

\pgfplotsset{compat=1.15}

\begin{document}

\begin{tikzpicture}
	\begin{axis}
	\addplot3[surf,domain=-2:10,samples=25,
		unbounded coords=jump,
		%empty line=jump
		] 
	gnuplot {(3 * x^2 - 3) / ((x + 1) * (x - 4))*y};	
	%{(3 * x^2 - 3) / ((x + 1) * (x - 4))*y};	
	\end{axis}
\end{tikzpicture}
\end{document}

